package com.itheima.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.entity.Permission;
import org.apache.ibatis.annotations.Delete;

public interface PermissionMapper extends BaseMapper<Permission> {
    @Delete("set foreign_key_checks=0")
    void closeForeignKey();
    @Delete("set foreign_key_checks=1")
    void openForeignKey();
}
